<!DOCTYPE html>
<!--thymeleaf 的命名空间-->
<html lang="en" xmlns:th="https://thymeleaf.org">
<head>
    <meta charset="UTF-8">
    <title>Title</title>
</head>
<body>
<form method="post" th:action="@{/user/login}">
    账号：<input name="username" type="text"/>
    <br>
    密码：<input name="password" type="text"/>
    <br>
    <button type="submit">登录</button>
</form>

</body>
</html>